package com.qf.DongProxy.impl;

import com.qf.DongProxy.FangDongService;

/**
 * projectName:spring_demo
 * author:liuXin
 * time:2022/7/11 9:47
 * description:
 */
public class FangDongProxyImpl implements FangDongService {
    FangDongService fangDongService;

    public FangDongProxyImpl(FangDongService fangDongService) {
        this.fangDongService = fangDongService;
    }

    @Override
    public void zuFang() {
        System.out.println("发布广告");
        System.out.println("装修");
        fangDongService.zuFang();
        System.out.println("签合同");
        System.out.println("收房租");
    }
}
